package com.uplooking.pojo;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

public class BusVOExample {
    protected String orderByClause;

    protected boolean distinct;
    
    protected Integer start;

	protected Integer limit;

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

    protected List<Criteria> oredCriteria;

    public BusVOExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBsnoIsNull() {
            addCriterion("bsno is null");
            return (Criteria) this;
        }

        public Criteria andBsnoIsNotNull() {
            addCriterion("bsno is not null");
            return (Criteria) this;
        }

        public Criteria andBsnoEqualTo(String value) {
            addCriterion("bsno =", value, "bsno");
            return (Criteria) this;
        }

        public Criteria andBsnoNotEqualTo(String value) {
            addCriterion("bsno <>", value, "bsno");
            return (Criteria) this;
        }

        public Criteria andBsnoGreaterThan(String value) {
            addCriterion("bsno >", value, "bsno");
            return (Criteria) this;
        }

        public Criteria andBsnoGreaterThanOrEqualTo(String value) {
            addCriterion("bsno >=", value, "bsno");
            return (Criteria) this;
        }

        public Criteria andBsnoLessThan(String value) {
            addCriterion("bsno <", value, "bsno");
            return (Criteria) this;
        }

        public Criteria andBsnoLessThanOrEqualTo(String value) {
            addCriterion("bsno <=", value, "bsno");
            return (Criteria) this;
        }

        public Criteria andBsnoLike(String value) {
            addCriterion("bsno like", value, "bsno");
            return (Criteria) this;
        }

        public Criteria andBsnoNotLike(String value) {
            addCriterion("bsno not like", value, "bsno");
            return (Criteria) this;
        }

        public Criteria andBsnoIn(List<String> values) {
            addCriterion("bsno in", values, "bsno");
            return (Criteria) this;
        }

        public Criteria andBsnoNotIn(List<String> values) {
            addCriterion("bsno not in", values, "bsno");
            return (Criteria) this;
        }

        public Criteria andBsnoBetween(String value1, String value2) {
            addCriterion("bsno between", value1, value2, "bsno");
            return (Criteria) this;
        }

        public Criteria andBsnoNotBetween(String value1, String value2) {
            addCriterion("bsno not between", value1, value2, "bsno");
            return (Criteria) this;
        }

        public Criteria andBstypeIsNull() {
            addCriterion("bstype is null");
            return (Criteria) this;
        }

        public Criteria andBstypeIsNotNull() {
            addCriterion("bstype is not null");
            return (Criteria) this;
        }

        public Criteria andBstypeEqualTo(String value) {
            addCriterion("bstype =", value, "bstype");
            return (Criteria) this;
        }

        public Criteria andBstypeNotEqualTo(String value) {
            addCriterion("bstype <>", value, "bstype");
            return (Criteria) this;
        }

        public Criteria andBstypeGreaterThan(String value) {
            addCriterion("bstype >", value, "bstype");
            return (Criteria) this;
        }

        public Criteria andBstypeGreaterThanOrEqualTo(String value) {
            addCriterion("bstype >=", value, "bstype");
            return (Criteria) this;
        }

        public Criteria andBstypeLessThan(String value) {
            addCriterion("bstype <", value, "bstype");
            return (Criteria) this;
        }

        public Criteria andBstypeLessThanOrEqualTo(String value) {
            addCriterion("bstype <=", value, "bstype");
            return (Criteria) this;
        }

        public Criteria andBstypeLike(String value) {
            addCriterion("bstype like", value, "bstype");
            return (Criteria) this;
        }

        public Criteria andBstypeNotLike(String value) {
            addCriterion("bstype not like", value, "bstype");
            return (Criteria) this;
        }

        public Criteria andBstypeIn(List<String> values) {
            addCriterion("bstype in", values, "bstype");
            return (Criteria) this;
        }

        public Criteria andBstypeNotIn(List<String> values) {
            addCriterion("bstype not in", values, "bstype");
            return (Criteria) this;
        }

        public Criteria andBstypeBetween(String value1, String value2) {
            addCriterion("bstype between", value1, value2, "bstype");
            return (Criteria) this;
        }

        public Criteria andBstypeNotBetween(String value1, String value2) {
            addCriterion("bstype not between", value1, value2, "bstype");
            return (Criteria) this;
        }

        public Criteria andBscolorIsNull() {
            addCriterion("bscolor is null");
            return (Criteria) this;
        }

        public Criteria andBscolorIsNotNull() {
            addCriterion("bscolor is not null");
            return (Criteria) this;
        }

        public Criteria andBscolorEqualTo(String value) {
            addCriterion("bscolor =", value, "bscolor");
            return (Criteria) this;
        }

        public Criteria andBscolorNotEqualTo(String value) {
            addCriterion("bscolor <>", value, "bscolor");
            return (Criteria) this;
        }

        public Criteria andBscolorGreaterThan(String value) {
            addCriterion("bscolor >", value, "bscolor");
            return (Criteria) this;
        }

        public Criteria andBscolorGreaterThanOrEqualTo(String value) {
            addCriterion("bscolor >=", value, "bscolor");
            return (Criteria) this;
        }

        public Criteria andBscolorLessThan(String value) {
            addCriterion("bscolor <", value, "bscolor");
            return (Criteria) this;
        }

        public Criteria andBscolorLessThanOrEqualTo(String value) {
            addCriterion("bscolor <=", value, "bscolor");
            return (Criteria) this;
        }

        public Criteria andBscolorLike(String value) {
            addCriterion("bscolor like", value, "bscolor");
            return (Criteria) this;
        }

        public Criteria andBscolorNotLike(String value) {
            addCriterion("bscolor not like", value, "bscolor");
            return (Criteria) this;
        }

        public Criteria andBscolorIn(List<String> values) {
            addCriterion("bscolor in", values, "bscolor");
            return (Criteria) this;
        }

        public Criteria andBscolorNotIn(List<String> values) {
            addCriterion("bscolor not in", values, "bscolor");
            return (Criteria) this;
        }

        public Criteria andBscolorBetween(String value1, String value2) {
            addCriterion("bscolor between", value1, value2, "bscolor");
            return (Criteria) this;
        }

        public Criteria andBscolorNotBetween(String value1, String value2) {
            addCriterion("bscolor not between", value1, value2, "bscolor");
            return (Criteria) this;
        }

        public Criteria andBspriceIsNull() {
            addCriterion("bsprice is null");
            return (Criteria) this;
        }

        public Criteria andBspriceIsNotNull() {
            addCriterion("bsprice is not null");
            return (Criteria) this;
        }

        public Criteria andBspriceEqualTo(Integer value) {
            addCriterion("bsprice =", value, "bsprice");
            return (Criteria) this;
        }

        public Criteria andBspriceNotEqualTo(Integer value) {
            addCriterion("bsprice <>", value, "bsprice");
            return (Criteria) this;
        }

        public Criteria andBspriceGreaterThan(Integer value) {
            addCriterion("bsprice >", value, "bsprice");
            return (Criteria) this;
        }

        public Criteria andBspriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("bsprice >=", value, "bsprice");
            return (Criteria) this;
        }

        public Criteria andBspriceLessThan(Integer value) {
            addCriterion("bsprice <", value, "bsprice");
            return (Criteria) this;
        }

        public Criteria andBspriceLessThanOrEqualTo(Integer value) {
            addCriterion("bsprice <=", value, "bsprice");
            return (Criteria) this;
        }

        public Criteria andBspriceIn(List<Integer> values) {
            addCriterion("bsprice in", values, "bsprice");
            return (Criteria) this;
        }

        public Criteria andBspriceNotIn(List<Integer> values) {
            addCriterion("bsprice not in", values, "bsprice");
            return (Criteria) this;
        }

        public Criteria andBspriceBetween(Integer value1, Integer value2) {
            addCriterion("bsprice between", value1, value2, "bsprice");
            return (Criteria) this;
        }

        public Criteria andBspriceNotBetween(Integer value1, Integer value2) {
            addCriterion("bsprice not between", value1, value2, "bsprice");
            return (Criteria) this;
        }

        public Criteria andBsrentIsNull() {
            addCriterion("bsrent is null");
            return (Criteria) this;
        }

        public Criteria andBsrentIsNotNull() {
            addCriterion("bsrent is not null");
            return (Criteria) this;
        }

        public Criteria andBsrentEqualTo(Integer value) {
            addCriterion("bsrent =", value, "bsrent");
            return (Criteria) this;
        }

        public Criteria andBsrentNotEqualTo(Integer value) {
            addCriterion("bsrent <>", value, "bsrent");
            return (Criteria) this;
        }

        public Criteria andBsrentGreaterThan(Integer value) {
            addCriterion("bsrent >", value, "bsrent");
            return (Criteria) this;
        }

        public Criteria andBsrentGreaterThanOrEqualTo(Integer value) {
            addCriterion("bsrent >=", value, "bsrent");
            return (Criteria) this;
        }

        public Criteria andBsrentLessThan(Integer value) {
            addCriterion("bsrent <", value, "bsrent");
            return (Criteria) this;
        }

        public Criteria andBsrentLessThanOrEqualTo(Integer value) {
            addCriterion("bsrent <=", value, "bsrent");
            return (Criteria) this;
        }

        public Criteria andBsrentIn(List<Integer> values) {
            addCriterion("bsrent in", values, "bsrent");
            return (Criteria) this;
        }

        public Criteria andBsrentNotIn(List<Integer> values) {
            addCriterion("bsrent not in", values, "bsrent");
            return (Criteria) this;
        }

        public Criteria andBsrentBetween(Integer value1, Integer value2) {
            addCriterion("bsrent between", value1, value2, "bsrent");
            return (Criteria) this;
        }

        public Criteria andBsrentNotBetween(Integer value1, Integer value2) {
            addCriterion("bsrent not between", value1, value2, "bsrent");
            return (Criteria) this;
        }

        public Criteria andBsdepositIsNull() {
            addCriterion("bsdeposit is null");
            return (Criteria) this;
        }

        public Criteria andBsdepositIsNotNull() {
            addCriterion("bsdeposit is not null");
            return (Criteria) this;
        }

        public Criteria andBsdepositEqualTo(Integer value) {
            addCriterion("bsdeposit =", value, "bsdeposit");
            return (Criteria) this;
        }

        public Criteria andBsdepositNotEqualTo(Integer value) {
            addCriterion("bsdeposit <>", value, "bsdeposit");
            return (Criteria) this;
        }

        public Criteria andBsdepositGreaterThan(Integer value) {
            addCriterion("bsdeposit >", value, "bsdeposit");
            return (Criteria) this;
        }

        public Criteria andBsdepositGreaterThanOrEqualTo(Integer value) {
            addCriterion("bsdeposit >=", value, "bsdeposit");
            return (Criteria) this;
        }

        public Criteria andBsdepositLessThan(Integer value) {
            addCriterion("bsdeposit <", value, "bsdeposit");
            return (Criteria) this;
        }

        public Criteria andBsdepositLessThanOrEqualTo(Integer value) {
            addCriterion("bsdeposit <=", value, "bsdeposit");
            return (Criteria) this;
        }

        public Criteria andBsdepositIn(List<Integer> values) {
            addCriterion("bsdeposit in", values, "bsdeposit");
            return (Criteria) this;
        }

        public Criteria andBsdepositNotIn(List<Integer> values) {
            addCriterion("bsdeposit not in", values, "bsdeposit");
            return (Criteria) this;
        }

        public Criteria andBsdepositBetween(Integer value1, Integer value2) {
            addCriterion("bsdeposit between", value1, value2, "bsdeposit");
            return (Criteria) this;
        }

        public Criteria andBsdepositNotBetween(Integer value1, Integer value2) {
            addCriterion("bsdeposit not between", value1, value2, "bsdeposit");
            return (Criteria) this;
        }

        public Criteria andBsstatusIsNull() {
            addCriterion("bsstatus is null");
            return (Criteria) this;
        }

        public Criteria andBsstatusIsNotNull() {
            addCriterion("bsstatus is not null");
            return (Criteria) this;
        }

        public Criteria andBsstatusEqualTo(Integer value) {
            addCriterion("bsstatus =", value, "bsstatus");
            return (Criteria) this;
        }

        public Criteria andBsstatusNotEqualTo(Integer value) {
            addCriterion("bsstatus <>", value, "bsstatus");
            return (Criteria) this;
        }

        public Criteria andBsstatusGreaterThan(Integer value) {
            addCriterion("bsstatus >", value, "bsstatus");
            return (Criteria) this;
        }

        public Criteria andBsstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("bsstatus >=", value, "bsstatus");
            return (Criteria) this;
        }

        public Criteria andBsstatusLessThan(Integer value) {
            addCriterion("bsstatus <", value, "bsstatus");
            return (Criteria) this;
        }

        public Criteria andBsstatusLessThanOrEqualTo(Integer value) {
            addCriterion("bsstatus <=", value, "bsstatus");
            return (Criteria) this;
        }

        public Criteria andBsstatusIn(List<Integer> values) {
            addCriterion("bsstatus in", values, "bsstatus");
            return (Criteria) this;
        }

        public Criteria andBsstatusNotIn(List<Integer> values) {
            addCriterion("bsstatus not in", values, "bsstatus");
            return (Criteria) this;
        }

        public Criteria andBsstatusBetween(Integer value1, Integer value2) {
            addCriterion("bsstatus between", value1, value2, "bsstatus");
            return (Criteria) this;
        }

        public Criteria andBsstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("bsstatus not between", value1, value2, "bsstatus");
            return (Criteria) this;
        }

        public Criteria andBsstatuszhIsNull() {
            addCriterion("bsstatuszh is null");
            return (Criteria) this;
        }

        public Criteria andBsstatuszhIsNotNull() {
            addCriterion("bsstatuszh is not null");
            return (Criteria) this;
        }

        public Criteria andBsstatuszhEqualTo(String value) {
            addCriterion("bsstatuszh =", value, "bsstatuszh");
            return (Criteria) this;
        }

        public Criteria andBsstatuszhNotEqualTo(String value) {
            addCriterion("bsstatuszh <>", value, "bsstatuszh");
            return (Criteria) this;
        }

        public Criteria andBsstatuszhGreaterThan(String value) {
            addCriterion("bsstatuszh >", value, "bsstatuszh");
            return (Criteria) this;
        }

        public Criteria andBsstatuszhGreaterThanOrEqualTo(String value) {
            addCriterion("bsstatuszh >=", value, "bsstatuszh");
            return (Criteria) this;
        }

        public Criteria andBsstatuszhLessThan(String value) {
            addCriterion("bsstatuszh <", value, "bsstatuszh");
            return (Criteria) this;
        }

        public Criteria andBsstatuszhLessThanOrEqualTo(String value) {
            addCriterion("bsstatuszh <=", value, "bsstatuszh");
            return (Criteria) this;
        }

        public Criteria andBsstatuszhLike(String value) {
            addCriterion("bsstatuszh like", value, "bsstatuszh");
            return (Criteria) this;
        }

        public Criteria andBsstatuszhNotLike(String value) {
            addCriterion("bsstatuszh not like", value, "bsstatuszh");
            return (Criteria) this;
        }

        public Criteria andBsstatuszhIn(List<String> values) {
            addCriterion("bsstatuszh in", values, "bsstatuszh");
            return (Criteria) this;
        }

        public Criteria andBsstatuszhNotIn(List<String> values) {
            addCriterion("bsstatuszh not in", values, "bsstatuszh");
            return (Criteria) this;
        }

        public Criteria andBsstatuszhBetween(String value1, String value2) {
            addCriterion("bsstatuszh between", value1, value2, "bsstatuszh");
            return (Criteria) this;
        }

        public Criteria andBsstatuszhNotBetween(String value1, String value2) {
            addCriterion("bsstatuszh not between", value1, value2, "bsstatuszh");
            return (Criteria) this;
        }

        public Criteria andBsdescIsNull() {
            addCriterion("bsdesc is null");
            return (Criteria) this;
        }

        public Criteria andBsdescIsNotNull() {
            addCriterion("bsdesc is not null");
            return (Criteria) this;
        }

        public Criteria andBsdescEqualTo(String value) {
            addCriterion("bsdesc =", value, "bsdesc");
            return (Criteria) this;
        }

        public Criteria andBsdescNotEqualTo(String value) {
            addCriterion("bsdesc <>", value, "bsdesc");
            return (Criteria) this;
        }

        public Criteria andBsdescGreaterThan(String value) {
            addCriterion("bsdesc >", value, "bsdesc");
            return (Criteria) this;
        }

        public Criteria andBsdescGreaterThanOrEqualTo(String value) {
            addCriterion("bsdesc >=", value, "bsdesc");
            return (Criteria) this;
        }

        public Criteria andBsdescLessThan(String value) {
            addCriterion("bsdesc <", value, "bsdesc");
            return (Criteria) this;
        }

        public Criteria andBsdescLessThanOrEqualTo(String value) {
            addCriterion("bsdesc <=", value, "bsdesc");
            return (Criteria) this;
        }

        public Criteria andBsdescLike(String value) {
            addCriterion("bsdesc like", value, "bsdesc");
            return (Criteria) this;
        }

        public Criteria andBsdescNotLike(String value) {
            addCriterion("bsdesc not like", value, "bsdesc");
            return (Criteria) this;
        }

        public Criteria andBsdescIn(List<String> values) {
            addCriterion("bsdesc in", values, "bsdesc");
            return (Criteria) this;
        }

        public Criteria andBsdescNotIn(List<String> values) {
            addCriterion("bsdesc not in", values, "bsdesc");
            return (Criteria) this;
        }

        public Criteria andBsdescBetween(String value1, String value2) {
            addCriterion("bsdesc between", value1, value2, "bsdesc");
            return (Criteria) this;
        }

        public Criteria andBsdescNotBetween(String value1, String value2) {
            addCriterion("bsdesc not between", value1, value2, "bsdesc");
            return (Criteria) this;
        }

        public Criteria andBsimgIsNull() {
            addCriterion("bsimg is null");
            return (Criteria) this;
        }

        public Criteria andBsimgIsNotNull() {
            addCriterion("bsimg is not null");
            return (Criteria) this;
        }

        public Criteria andBsimgEqualTo(String value) {
            addCriterion("bsimg =", value, "bsimg");
            return (Criteria) this;
        }

        public Criteria andBsimgNotEqualTo(String value) {
            addCriterion("bsimg <>", value, "bsimg");
            return (Criteria) this;
        }

        public Criteria andBsimgGreaterThan(String value) {
            addCriterion("bsimg >", value, "bsimg");
            return (Criteria) this;
        }

        public Criteria andBsimgGreaterThanOrEqualTo(String value) {
            addCriterion("bsimg >=", value, "bsimg");
            return (Criteria) this;
        }

        public Criteria andBsimgLessThan(String value) {
            addCriterion("bsimg <", value, "bsimg");
            return (Criteria) this;
        }

        public Criteria andBsimgLessThanOrEqualTo(String value) {
            addCriterion("bsimg <=", value, "bsimg");
            return (Criteria) this;
        }

        public Criteria andBsimgLike(String value) {
            addCriterion("bsimg like", value, "bsimg");
            return (Criteria) this;
        }

        public Criteria andBsimgNotLike(String value) {
            addCriterion("bsimg not like", value, "bsimg");
            return (Criteria) this;
        }

        public Criteria andBsimgIn(List<String> values) {
            addCriterion("bsimg in", values, "bsimg");
            return (Criteria) this;
        }

        public Criteria andBsimgNotIn(List<String> values) {
            addCriterion("bsimg not in", values, "bsimg");
            return (Criteria) this;
        }

        public Criteria andBsimgBetween(String value1, String value2) {
            addCriterion("bsimg between", value1, value2, "bsimg");
            return (Criteria) this;
        }

        public Criteria andBsimgNotBetween(String value1, String value2) {
            addCriterion("bsimg not between", value1, value2, "bsimg");
            return (Criteria) this;
        }

        public Criteria andBsuidIsNull() {
            addCriterion("bsuid is null");
            return (Criteria) this;
        }

        public Criteria andBsuidIsNotNull() {
            addCriterion("bsuid is not null");
            return (Criteria) this;
        }

        public Criteria andBsuidEqualTo(Integer value) {
            addCriterion("bsuid =", value, "bsuid");
            return (Criteria) this;
        }

        public Criteria andBsuidNotEqualTo(Integer value) {
            addCriterion("bsuid <>", value, "bsuid");
            return (Criteria) this;
        }

        public Criteria andBsuidGreaterThan(Integer value) {
            addCriterion("bsuid >", value, "bsuid");
            return (Criteria) this;
        }

        public Criteria andBsuidGreaterThanOrEqualTo(Integer value) {
            addCriterion("bsuid >=", value, "bsuid");
            return (Criteria) this;
        }

        public Criteria andBsuidLessThan(Integer value) {
            addCriterion("bsuid <", value, "bsuid");
            return (Criteria) this;
        }

        public Criteria andBsuidLessThanOrEqualTo(Integer value) {
            addCriterion("bsuid <=", value, "bsuid");
            return (Criteria) this;
        }

        public Criteria andBsuidIn(List<Integer> values) {
            addCriterion("bsuid in", values, "bsuid");
            return (Criteria) this;
        }

        public Criteria andBsuidNotIn(List<Integer> values) {
            addCriterion("bsuid not in", values, "bsuid");
            return (Criteria) this;
        }

        public Criteria andBsuidBetween(Integer value1, Integer value2) {
            addCriterion("bsuid between", value1, value2, "bsuid");
            return (Criteria) this;
        }

        public Criteria andBsuidNotBetween(Integer value1, Integer value2) {
            addCriterion("bsuid not between", value1, value2, "bsuid");
            return (Criteria) this;
        }

        public Criteria andBsunameIsNull() {
            addCriterion("bsuname is null");
            return (Criteria) this;
        }

        public Criteria andBsunameIsNotNull() {
            addCriterion("bsuname is not null");
            return (Criteria) this;
        }

        public Criteria andBsunameEqualTo(String value) {
            addCriterion("bsuname =", value, "bsuname");
            return (Criteria) this;
        }

        public Criteria andBsunameNotEqualTo(String value) {
            addCriterion("bsuname <>", value, "bsuname");
            return (Criteria) this;
        }

        public Criteria andBsunameGreaterThan(String value) {
            addCriterion("bsuname >", value, "bsuname");
            return (Criteria) this;
        }

        public Criteria andBsunameGreaterThanOrEqualTo(String value) {
            addCriterion("bsuname >=", value, "bsuname");
            return (Criteria) this;
        }

        public Criteria andBsunameLessThan(String value) {
            addCriterion("bsuname <", value, "bsuname");
            return (Criteria) this;
        }

        public Criteria andBsunameLessThanOrEqualTo(String value) {
            addCriterion("bsuname <=", value, "bsuname");
            return (Criteria) this;
        }

        public Criteria andBsunameLike(String value) {
            addCriterion("bsuname like", value, "bsuname");
            return (Criteria) this;
        }

        public Criteria andBsunameNotLike(String value) {
            addCriterion("bsuname not like", value, "bsuname");
            return (Criteria) this;
        }

        public Criteria andBsunameIn(List<String> values) {
            addCriterion("bsuname in", values, "bsuname");
            return (Criteria) this;
        }

        public Criteria andBsunameNotIn(List<String> values) {
            addCriterion("bsuname not in", values, "bsuname");
            return (Criteria) this;
        }

        public Criteria andBsunameBetween(String value1, String value2) {
            addCriterion("bsuname between", value1, value2, "bsuname");
            return (Criteria) this;
        }

        public Criteria andBsunameNotBetween(String value1, String value2) {
            addCriterion("bsuname not between", value1, value2, "bsuname");
            return (Criteria) this;
        }

        public Criteria andBstimeIsNull() {
            addCriterion("bstime is null");
            return (Criteria) this;
        }

        public Criteria andBstimeIsNotNull() {
            addCriterion("bstime is not null");
            return (Criteria) this;
        }

        public Criteria andBstimeEqualTo(Timestamp value) {
            addCriterion("bstime =", value, "bstime");
            return (Criteria) this;
        }

        public Criteria andBstimeNotEqualTo(Timestamp value) {
            addCriterion("bstime <>", value, "bstime");
            return (Criteria) this;
        }

        public Criteria andBstimeGreaterThan(Timestamp value) {
            addCriterion("bstime >", value, "bstime");
            return (Criteria) this;
        }

        public Criteria andBstimeGreaterThanOrEqualTo(Timestamp value) {
            addCriterion("bstime >=", value, "bstime");
            return (Criteria) this;
        }

        public Criteria andBstimeLessThan(Timestamp value) {
            addCriterion("bstime <", value, "bstime");
            return (Criteria) this;
        }

        public Criteria andBstimeLessThanOrEqualTo(Timestamp value) {
            addCriterion("bstime <=", value, "bstime");
            return (Criteria) this;
        }

        public Criteria andBstimeIn(List<Timestamp> values) {
            addCriterion("bstime in", values, "bstime");
            return (Criteria) this;
        }

        public Criteria andBstimeNotIn(List<Timestamp> values) {
            addCriterion("bstime not in", values, "bstime");
            return (Criteria) this;
        }

        public Criteria andBstimeBetween(Timestamp value1, Timestamp value2) {
            addCriterion("bstime between", value1, value2, "bstime");
            return (Criteria) this;
        }

        public Criteria andBstimeNotBetween(Timestamp value1, Timestamp value2) {
            addCriterion("bstime not between", value1, value2, "bstime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}